<?php
class Core_Authentication_Business_Resource extends Core_Authentication_Business_Abstract {
	private $_id;
	private $_name;
	private $_controller;
	private $_created;
	private $_updated;
	
	public function getId() {return $this->_id;}
	public function setId($value) {$this->_id=$value;}
	
	public function getName() {return $this->_name;}
	public function setName($value) {$this->_name=$value;}
	
	public function getController() {return $this->_controller;}
	public function setController($value) {$this->_controller=$value;}
	
	public function getCreated() {return $this->_created;}
	public function setCreated($value) {$this->_created=$value;}
	
	public function getUpdated() {return $this->_updated;}
	public function setUpdated($value) {$this->_updated=$value;}
	
	public static function getAll() {
		$map = new Core_Data_Mappers_Resource();
		$collectionResource = $map->fetchAll();
		return $collectionResource;
	}
	
}

?>